#include <iostream>

//template<class T1, class T2>
template <int N>
void Output()
{
	for (int i = 0; i < N; i++)
	{
		std::cout << i << " ";
	}
	std::cout << std::endl;
}

int main()
{
	Output<4>();
	
	return 0;
}
